package com.newtouch.bxzs.common.base.em;

/**
 * 按钮类型枚举
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020年12月23日</td>
 * <td>Amour</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author Amour
 * @version 1.0.0
 * @since 1.0.0
 */
public enum ButtonTypeEnum {
	// 暂存
	TEMPORARY_BUTTON("1", "暂存"),
	// 发布
	PUBLIC_BUTTON("2", "发布"),
	// 撤销
	REVOKE_BUTTON("3", "撤销");
	/**
	 * 类型码
	 */
	private String code;
	/**
	 * 类型名称
	 */
	private String name;

	ButtonTypeEnum(String code, String name) {
		this.code = code;
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public String getMessage() {
		return name;
	}
}
